<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <title>校园业务</title>
    <link rel="stylesheet" href="../../template/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="../../template/website/css/app.css"/>
    <style type="text/css">
        .border-radius {
            border-radius: 5px;
        }

        .item-background {
            background: #f3f2f1;
        }
    </style>
</head>
<body>
    <ul data-am-widget="gallery" class="am-gallery am-avg-sm-2
    am-avg-md-3 am-avg-lg-4 am-gallery-default my-icon-list" data-am-gallery="{ pureview: false }" >
        <li class="am-text-center" id="broadband">
            <div class="am-margin-top-xs am-padding-lg border-radius item-background">
                <div class="am-padding-horizontal-xs">
                    <img class="am-circle" src="../../template/website/images/campus_broadband.png"/>
                </div>
                <div class="am-text-sm am-margin-top-lg am-text-truncate">宽带预约</div>
            </div>
        </li>
        <li class="am-text-center" id="activity">
            <div class="am-margin-top-xs am-padding-lg border-radius item-background">
                <div class="am-padding-horizontal-xs">
                    <img class="am-circle" src="../../template/website/images/campus_activity.png"/>
                </div>
                <div class="am-text-sm am-margin-top-lg am-text-truncate">促销活动</div>
            </div>
        </li>
        <li class="am-text-center" id="zifei">
            <div class="am-margin-top-xs am-padding-lg border-radius item-background">
                <div class="am-padding-horizontal-xs">
                    <img class="am-circle" src="../../template/website/images/campus_zifei.png"/>
                </div>
                <div class="am-text-sm am-margin-top-lg am-text-truncate">资费办理</div>
            </div>
        </li>
         <li class="am-text-center" id="bd_open">
            <div class="am-margin-top-xs am-padding-lg border-radius item-background">
                <div class="am-padding-horizontal-xs">
                    <img class="am-circle" src="../../template/website/images/campus_kaihu.png"/>
                </div>
                <div class="am-text-sm am-margin-top-lg am-text-truncate">宽带开户</div>
            </div>
        </li> 

        <li class="am-text-center" id="campus_v">
            <div class="am-margin-top-xs am-padding-lg border-radius item-background">
                <div class="am-padding-horizontal-xs">
                    <img class="am-circle" src="../../template/website/images/campus_vnet.png"/>
                </div>
                <div class="am-text-sm am-margin-top-lg am-text-truncate">校园V网</div>
            </div>
        </li>
    </ul>
<script type="text/javascript" src="../../template/assets/js/jquery.min.js"></script>
<script type="text/javascript" src="../../template/assets/js/amazeui.min.js"></script>
<script type="text/javascript" src="../../template/assets/js/handlebars.min.js"></script>
<script type="text/javascript" src="../../template/assets/js/amazeui.widgets.helper.min.js"></script>
<script type="text/javascript" src="../../template/website/js/app.js"></script>
<script type="text/javascript" src="../../template/website/js/campus/index.js"></script>
<script type="text/javascript">
    //返回页面分享的参数,当当前页面有canAppShare=1参数时需要添加此函数resShareParm(函数名不能改，客户端已经只调用这个函数)
    function resShareParm() {
        var regText1 = "saleType=1";
        var regText2 = "saleType=3";
        var regS1 = new RegExp(regText1, "gi");
        var regS2 = new RegExp(regText2, "gi");
        var urlpath = window.location.href.replace(regS1, "saleType=2").replace(regS2, "saleType=4");//修改平台类型(原生分享出去统一改为分享平台)：1（直销通代客下单）改为 2（直销通分享页面购买） 3（微店原生购买）改为 4（微店分享购买）
        var imgpath = 'http://' + window.location.host + '/upload/file/default_head_img.png';
        var title = "校园专区";
        var description = "校园业务大全";
        var data = "url=" + urlpath + "&&img=" + imgpath + "&&title=" + title + "&&description=" + description + "";
        return data;
    }

    //客户端退出webview（返回首页）回调
    function backHandle(){
        if (/iphone|ipad|ipod/i.test(window.navigator.userAgent + window.navigator.platform) && window.webkit && window.webkit.messageHandlers) {
          window.webkit.messageHandlers.exitWeb.postMessage(null);
        } else {
          window.client.exitWeb();
        }
    }
</script>
</body>
</html>